package com.sa.token.dto.request.user;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @desc: 登录注册入参
 * @author: xhs
 * @date: 2021/8/19 12:55
 * @version: JDK 1.8
 */
@Data
public class LoginRequest {

    @NotEmpty(message = "账号不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;
}
